package com.pda.common.pages.codereplace;

import com.pda.common.basemvp.present.BasePresenter;
import com.pda.common.beanin.CodeReplacrInBean;

public class CodeReplacePresent extends BasePresenter<CodeReplaceModel, CodeReplaceView> implements CodeReplaceModel.CallBack {
    public void codeReplace(CodeReplacrInBean codeReplacrInBean) {
        view.showProgress();
        model.codeReplace( codeReplacrInBean,this);
    }

    @Override
    public void ontip(String str) {
        if(view==null){
            return;
        }
        view.hideProgress();
        view.tip(str);
    }
}


